package ai.people.netmon.twitter.monitor.service;

import ai.people.core.standard.analysis.entity.request.JoinAnalysisRequest;
import ai.people.netmon.framework.domain.common.monitor.MonitorUsersListVO;
import ai.people.netmon.framework.domain.common.monitor.MonitorUsersVO;
import ai.people.netmon.framework.domain.twitter.monitor.entity.TwitterMonitorUsers;
import ai.people.netmon.framework.domain.twitter.monitor.request.MonitorUsersRequest;
import ai.people.netmon.framework.model.response.PageResponse;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhenglin
 * @since 2022-03-08
 */
public interface TwitterMonitorUsersService extends IService<TwitterMonitorUsers> {

    /**
     * 获取用户信息
     *
     * @param userName
     * @return {@link MonitorUsersVO}
     */
    MonitorUsersVO getUsers(String userName);

    /**
     * 用户信息列表
     *
     * @param request 请求
     * @return {@link PageResponse}<{@link MonitorUsersListVO}>
     */
    PageResponse<MonitorUsersListVO> listUserInfo(MonitorUsersRequest request);

    /**
     * 添加分析
     *
     * @param request 请求
     */
    void addAnalysis(JoinAnalysisRequest request);
}
